﻿using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Refunds.Form
{
    [AutoMapTo(typeof(Refund))]
    public class RefundForm
    {
        /// <summary>
        /// 订单id
        /// </summary>
        public long OrderId { get; set; }
        /// <summary>
        /// 订单元素id
        /// </summary>
        public long OrderDetailId { get; set; }
        /// <summary>
        /// 处理方式
        /// </summary>
        public RefundType Type { get; set; }
        /// <summary>
        /// 货物状态
        /// </summary>
        public ItemStatus? ItemStatus { get; set; }
        /// <summary>
        /// 退款原因
        /// </summary>
        [MaxLength(100)]
        public string Reason { get; set; }
        /// <summary>
        /// 退款金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 凭证
        /// </summary>
        public string Vouchers { get; set; }
    }
}
